import ADQ from "../ADCore/Core/ADQ";
import ADQInitialize from "../ADCore/Core/ADQInitialize";
import ADVM from "../ADCore/MVVM/ADVM";
import IOCMoudule from "../GamePlay/IOCMoudule";
import EventHandler from "../LayaExtends/Utils/EventHandler";
import { ui } from "../ui/layaMaxUI";

export default class StartGameView extends ui.StartGameUI {
  dataContext: ADVM;
  constructor() {
    super();
    console.debug("游戏首页加载成功！");
  }
  onAwake() {
    new ADQInitialize(
      new EventHandler(this, this.GameInited),
      new IOCMoudule()
    );
  }
  GameInited() {
    var startup=ADQ.getGameStartup();
    //startup.onRunGame();
  }
}
